package com.yjy.orderStateTest.impl;

import com.yjy.orderStateTest.Context;
import com.yjy.orderStateTest.OrderState;

/**
 * 待出库状态
 */
public class WaitOutStockState implements OrderState {
    @Override
    public void action(Context context) {
        context.setOrderState(new PendingDeliveryOrder());
    }

    @Override
    public void doPrint() {
        System.out.println("等待出库状态");
    }
}